package shop.order.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import shop.common.core.Result;

@FeignClient(name = "user-service", path = "/api/users")
public interface RemoteUserService {
    @GetMapping("/details/{id}")
    Result details(@PathVariable String id);
}
